package com.xuqm.sdhbwfu.app.model

import com.google.gson.annotations.SerializedName
import com.xuqm.base.adapter.BaseItem

data class PmTaskContent(
    @SerializedName("configInfo")
    val configInfo: ConfigInfo?,
    @SerializedName("createTime")
    val createTime: String?,
    @SerializedName("id")
    val id: Int?,
    @SerializedName("inputValueInfo")
    var inputValueInfo: String?,
    @SerializedName("label")
    var label: String?,
    @SerializedName("seq")
    val seq: Int?,
    @SerializedName("taskStepExcuteStatus")
    var taskStepExcuteStatus: String?,
    @SerializedName("taskStepExcutePhoto")
    var taskStepExcutePhoto: String?,
    @SerializedName("taskStepExcuteDesc")
    var taskStepExcuteDesc: String?,
    @SerializedName("taskStepExcuteResultNormal")
    var taskStepExcuteResultNormal: Boolean?,
    @SerializedName("title")
    var title: String?,
    @SerializedName("type")
    var type: String?,
    @SerializedName("updateTime")
    var updateTime: String?,
    var implementerSign: String?,
    var followConstructerSign: String?,
    var bankMangerSign: String?,
    var maintainSummary: String?
) : BaseItem() {
    data class ConfigInfo(
        @SerializedName("dataList")
        val dataList: MutableList<Data>,
        @SerializedName("item")
        val item: MutableList<Item>,
        @SerializedName("type")
        val type: String?
    ) {
        data class Data(
            @SerializedName("name")
            var name: String,
            @SerializedName("quantity")
            var quantity: Int,
            @SerializedName("specification")
            var specification: String
        )
        data class Item(
            @SerializedName("seq")
            var seq: String,
            @SerializedName("colName")
            var colName: String,
            @SerializedName("unit")
            var unit: String,
            @SerializedName("referInfo")
            var referInfo: String
        )
    }
}
